<template>
  <div>
    <common-page
      ref="common"
      :ccode="ccode"
      @hook:created="commonCreated"
      @nodeClick="nodeClick"
    />
  </div>
</template>

<script>
export default {
  name: 'DemoTable',
  data() {
    return {
    }
  },
  computed: {
    ccode: function() {
      return this.$route.meta.code
    }
  },
  mounted: function() {
  },
  methods: {
    nodeClick({ btn, currentRow }){
      console.log(btn);
    },
    commonCreated() {
      window.$CD.beforeBinded = (tableData, tableInstance) => {
      }
      window.$CD.onBinded = (tableData, tableInstance) => {
      }
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
